﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using InstrumentCheck.Module;
using InstrumentCheck.DAL;

namespace InstrumentCheck.BLL
{
    public static class User_bll
    {
        private static User_dal user_dal = new User_dal();

        public static User GetUserInfo_bll(string strEmpNO)
        {
            return user_dal.GetUserInfo_dal(strEmpNO);
        }

        public static User GetUserInfoByName_bll(string strEmpName)
        {
            return user_dal.GetUserInfoByName_dal(strEmpName);
        }

        public static List<User> GetQueryUser_bll(string strColumnName,string strQueryValue,bool IsInCorrectItem)
        {
            return user_dal.GetQueryUser_dal(strColumnName, "%" + strQueryValue + "%",IsInCorrectItem);
        }
    }
}